<div class="row">
  <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
    <div id="ribbon">
        <ol class="breadcrumb pull-right">
            <li><a href="javascript:;">主页</a></li>
            <li><a href="javascript:;">事件工单</a></li>
        </ol>
    </div>
    <div class="content">
      <div class="panel panel-default panel-intro">
          <div class="panel-heading">
              <div class="panel-lead"><em>滞后事件</em>所有滞后，历史遗留的风险事件，将记录在案，在后续有精力时解决。</div>
              <ul class="nav nav-tabs">
                  <li class="active"><a href="#listbehind" data-toggle="tab" aria-expanded="true">事物列表</a></li>
                  <li class=""><a id="addbehindView" href="#addbehind" data-toggle="tab" aria-expanded="false">添加事物</a></li>
              </ul>
          </div>
          <div class="panel-body">
              <div id="myTabContent" class="tab-content">
                  <div class="tab-pane fade active in" id="listbehind">
                      <div class="widget-body no-padding">
                          <div class="panel panel-default panel-intro">
                                <div id="toolbar" class="toolbar">
                                    <a href="javascript:;" class="btn btn-primary btn-refresh" ><i class="fa fa-refresh"></i> </a>
                                    <a class="btn btn-info btn-singlesearch" href="javascript:;"><i class="fa fa-paper-plane-o"></i> 汇报发出</a>
                                    <a class="btn btn-success btn-singlesearch search-func" href="javascript:;"><i class="fa fa-search"></i> 自定义搜索</a>
                                </div>
                                <!-- table表格 -->
                                <table id="behindtable" class="table table-striped table-bordered table-hover" width="100%"></table>
                          </div>
                      </div>
                  </div>

                  <div class="tab-pane fade" id="addbehind">
                      <div class="widget-body no-padding">
                        <form class="behind_form">
                            <table class="table table-striped">
                                <tbody>
                                    <tr>
                                        <td>事件名称</td>
                                        <td>
                                            <div class="row">
                                              <div class="col-sm-8 col-xs-12">
                                                  <input type="text" name="behind_name" value="" class="form-control">
                                              </div>
                                              <div class="col-sm-4 col-xs-12 bsty">
                                                <span style="color: #808080;">给这个事件设定一个标识</span>
                                              </div>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>事件级别</td>
                                        <td>
                                            <div class="row">
                                              <div class="col-sm-8 col-xs-12">
                                                  <select name="behind_level" class="form-control selectpicker">
                                                      <option value="0" selected>请选择</option>
                                                      <option value="1">一般</option>
                                                      <option value="2">严重</option>
                                                      <option value="3">紧急</option>
                                                  </select>
                                              </div>
                                              <div class="col-sm-4 col-xs-12 bsty">
                                                <span style="color: #808080;">给事件设置一个优先级</span>
                                              </div>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>诉求人</td>
                                        <td>
                                            <div class="row">
                                              <div class="col-sm-8 col-xs-12 behind_appealer"></div>
                                              <div class="col-sm-4 col-xs-12 bsty">
                                                <span style="color: #808080;">给这个事情设置第一诉求人</span>
                                              </div>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>负责人</td>
                                        <td>
                                            <div class="row">
                                              <div class="col-sm-8 col-xs-12 behind_sec_principal"></div>
                                              <div class="col-sm-4 col-xs-12 bsty">
                                                <span style="color: #808080;">给这个事情设置第一负责人</span>
                                              </div>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>跟进人</td>
                                        <td>
                                            <div class="row">
                                              <div class="col-sm-8 col-xs-12 behind_check_principal"></div>
                                              <div class="col-sm-4 col-xs-12 bsty">
                                                <span style="color: #808080;">给这个事情设置跟进人</span>
                                              </div>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>具体事件</td>
                                        <td>
                                            <div class="row">
                                              <div class="col-sm-8 col-xs-12">
                                                  <textarea name="behind_content" class="form-control" data-rule="" rows="5"></textarea>
                                              </div>
                                              <div class="col-sm-4 col-xs-12 bsty">
                                                <span style="color: #808080;">详细具体的事件</span>
                                              </div>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>最终诉求</td>
                                        <td>
                                            <div class="row">
                                              <div class="col-sm-8 col-xs-12">
                                                  <textarea name="behind_appeal_content" class="form-control" data-rule="" rows="5"></textarea>
                                              </div>
                                              <div class="col-sm-4 col-xs-12 bsty">
                                                <span style="color: #808080;">希望达到的结果</span>
                                              </div>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                                <tfoot>
                                    <tr>
                                        <td></td>
                                        <td>
                                            <a class="behind-add btn btn-success btn-embossed">提交事件</a>
                                            <a class="behind-return btn btn-default btn-embossed">返回列表</a>
                                        </td>
                                        <td></td>
                                    </tr>
                                </tfoot>
                            </table>
                        </form>
                      </div>
                  </div>
              </div>
          </div>
      </div>
    </div>
  </div>
</div>
<? 
  include getcwd().'/webapp/application/views/model/behind.php';
?>
